package com.nengchuan.kbms.dfs.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 权限优先级 DTO
 * </p>
 *
 * @author abe
 * @since 2020-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "PermissionPriorityDTO 对象", description = "权限优先级 DTO")
public class PermissionPriorityDTO {

    @ApiModelProperty(value = "主键", position = 10)
    private Long id;

    @NotNull(message = "优先级不能为空")
    @ApiModelProperty(value = "优先级", position = 20)
    private Integer priority;

}
